package com.pr.makfilm.user.cmp.menu;

import com.pr.makfilm.core.cmp.menu.AbstractMenuPanel;
import com.pr.makfilm.core.cmp.menu.MenuItem;
import com.pr.makfilm.user.pages.room.list.RoomListPage;
import com.pr.makfilm.user.pages.school.list.SchoolListPage;

import java.util.Arrays;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Pawel
 * Date: 08.09.13
 * Time: 21:03
 * To change this template use File | Settings | File Templates.
 */
public class UserMenuPanel extends AbstractMenuPanel implements UserMenuKeys
{
   public UserMenuPanel(String id)
   {
      super(id, SchoolListPage.class);
   }

   @Override
   protected List<MenuItem> provideMenuItems()
   {
      return Arrays.asList(
              new MenuItem(SCHOOL_LIST_PAGE, "icon-building", SchoolListPage.class),
              new MenuItem(ROOM_LIST_PAGE, "icon-film", RoomListPage.class)
//              new MenuItem(EVENT_LIST_PAGE, EventListPage.class)
      );
   }
}